<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title></title>
    <link rel="stylesheet" href="/stylesheets/index.css">
  </head>
  <body>
    <% include header.ejs %>
    <!-- <div class="container">
      <header>
          <h1>DEMO1</h1>
      </header>
      <nav>
        <a href="/">首页</a>
        <a href="/product">产品</a>
        <a href="/article">文章</a>
        <a href="#">留言</a>
      </nav> -->
      <div class="left">
        <% if(articles && articles.length>0){ %>
          <% for(article of articles){ %>
            <a href="/article/article/<%=article.id%>"><%=article.title%></a>
            <p><%=article.text%></p>
          <% } %>
        <% } %>

      </div>
  </body>
</html>
